﻿using System;

namespace Glue.Converters
{
    internal class FloatToStringConverter:GlueDefaultConverter<float,String>
    {
        internal override string InternalMapTowardsRight(float from)
        {
            return from.ToString();
        }

        internal override float InternalMapTowardsLeft(string from)
        {
            return Convert.ToSingle(from);
        }
    }
}
